package com.hsc.www.validator.test5;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class People {

    private String id;

    @NotEmpty(message = "姓名不能为空")
    private String name;


}
